package com.ruoyix.weblog.domain.bo;

import com.ruoyix.common.core.validate.AddGroup;
import com.ruoyix.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;

import com.ruoyix.common.core.domain.BaseEntity;

/**
 * 家庭信息业务对象 blog_family
 *
 * @author ruoyi
 * @date 2024-05-27
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BlogFamilyBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 背景封面
     */
    @NotBlank(message = "背景封面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bgCover;

    /**
     * 男生头像
     */
    @NotBlank(message = "男生头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String manCover;

    /**
     * 女生头像
     */
    @NotBlank(message = "女生头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String womanCover;

    /**
     * 男生昵称
     */
    @NotBlank(message = "男生昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String manName;

    /**
     * 女生昵称
     */
    @NotBlank(message = "女生昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String womanName;

    /**
     * 计时
     */
    @NotBlank(message = "计时不能为空", groups = { AddGroup.class, EditGroup.class })
    private String timing;

    /**
     * 倒计时标题
     */
    @NotBlank(message = "倒计时标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String countdownTitle;

    /**
     * 倒计时时间
     */
    @NotBlank(message = "倒计时时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String countdownTime;

    /**
     * 是否启用[0:否，1:是]
     */
    @NotNull(message = "是否启用[0:否，1:是]不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer status;

    /**
     * 额外信息
     */
    @NotBlank(message = "额外信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String familyInfo;

    /**
     * 点赞数
     */
    @NotNull(message = "点赞数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long likeCount;



}
